package com.encyclopedia.mapper;

import com.encyclopedia.domain.PlantCrop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author MaLiang
 * @version 1.0
 * @date 2024-05-03 16:48
 */
@Mapper
public interface PlantCropMapper {
    List<PlantCrop> getCropInfo(PlantCrop plantCrop);

    int insertCrop(PlantCrop plantCrop);

    int deleteCrop(Long id);

    int updateCrop(PlantCrop plantCrop);

    PlantCrop getInfoId(Long id);
}
